/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package au.edu.swin.unilearn.assignment;

import au.edu.swin.unilearn.subject.*;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author DidierLeung
 */
@Remote
public interface AssignmentSessionRemote
{
    void addAssignment(Assignment a);
    List<Assignment> getAllAssignments();
    Assignment getAssignment(String assignmentNo, String subject_code);
    List<Assignment> getAssignments(String subjectCode);
    List<Assignment> getAllAssignmentForMarking(String subjectCode);
    void updateAssignment(Assignment a);
}
